//数据持久化,从localStorage中获取数据
const VuexLocal = localStorage.getItem("vuex-count")
export default{
    count:VuexLocal?JSON.parse(VuexLocal).count:{name:'小明',age:21,sex:'女'},
}